package com.jiukuaidao.zhulin.api;

import com.jiukuaidao.library.net.ApiBaseParamAbstract;
import com.jiukuaidao.library.net.MyRetroCallBack;
import com.jiukuaidao.library.net.RootResult;
import com.jiukuaidao.zhulin.util.NetUtil;
import com.jiukuaidao.zhulin.util.RetrofitUtil;

import retrofit2.Call;

/**
 * Author : BinarySatan
 * Date : 2016/6/6
 * Description : 订单签收接口
 */
public class ApiOrderReceipt extends ApiBaseParamAbstract {

    public ApiOrderReceipt(String orderNumber, MyRetroCallBack myRetroCallBack) {
        super(myRetroCallBack);
        mParams.put("orderNo", orderNumber);
    }

    @Override
    public Call<RootResult<String>> getCall() {
        return RetrofitUtil.getApiManager(mParams, NetUtil.getResHeaderListener()).getOrderReceipt(mParams);
    }
}
